package top.sdaily.business.service.crm;

import top.sdaily.business.model.crm.Organization;
import top.sdaily.core.mybatis.Page;

import java.util.List;

/**
 * Created by TsujiShiki on 2017/02/07.
 */
public interface OrganizationService {

    List<Organization> getAllOrganization();

    List<Organization> getPageOrganization(Page<Organization> page, String customerId);

    Organization getOrganizationById(String id);

    int insertOrganization(Organization organization);

    int updateOrganization(Organization organization);

}
